﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Trentacular.SharePoint.Web.UI;
using Microsoft.SharePoint.WebControls;

namespace Trentacular.SharePoint.Layouts
{
    public partial class PropertiesEditor : BaseSPUserControl
    {
        public string ScopeTitle { get; set; }

        protected void Page_PreRender(object sender, EventArgs e)
        {
            var inputFormSectionControl = (InputFormSection)inputFormSection;
            inputFormSectionControl.Description =
@"It is preferred to use all lowercase key names to seemlessly support the retrofitted
AllProperties Hashtable.  If uppercase letters are used, the property will be added
separately to both the the classic Properties PropertyBag (which is not case
sensitive) and the newer AllProperties Hashtable in order to support case
sensitivity.";
        }
    }
}
